home *** CD-ROM | disk | FTP | other *** search
- Path: news2.compulink.com!not-for-mail
- Newsgroups: comp.lang.c
- From: epoulin@idirect.com (Eric Poulin)
- Subject: Student -- need help with code changes at runtime?
- Content-Type: Text/Plain; charset=US-ASCII
- MIME-Version: 1.0
- X-Newsreader: WinVN 0.99.6
- X-Client-Port: 1029
- Message-ID: <ragnaroek1996Feb19.120437.2325@news2.compulink.com>
- X-Nntp-Posting-Host: havocnet29.idirect.com
- Date: 19 Feb 96 17:04:37 GMT
-
- I'm sure this is a no-brainer that i just can't think of. If someone does
- know,
- please email me at epoulin@idirect.com.
-
- Thanks,
-
- Eric
-
-
- The program is for teachers to enter in grades under various categories (ie.
- quizes, exams)
- I have defined the following structure
-
- typedef struct class_num {
- int numberOfQuizes;
- int numberofExams;
- int quiz1OutOf;
- int Quiz2OutOf;
-
- etc...
- } CLASS_NUM;
-
- The problem is that I want the user (teacher) to be able to change the number
- of quizes given
- and even add new categories (ie Attendance). How can I do this without
- including that information in the struct?
- I have a couple of ideas but none of them will work.
- Any help is GREATLY appreciated.
-
-
-
-
-
-